package com.xingkeduo.pojo.remote.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.xingkeduo.tool.ResponseReviewUtils;
import com.xingkeduo.util.config.FeignConfig;

@FeignClient(value = "business-comments", configuration = FeignConfig.class)
public interface CommentFeignService {

    //根据店铺id获取该门店 好评数
    @GetMapping("/api/comments/detail/reviews")
    ResponseReviewUtils getCommentDetail(@RequestParam(value = "storeId")String storeId, @RequestParam(value = "sign")String sign);

    

}
